@import '@common/styles/index.scss';
.container {
  overflow: hidden;
  position: relative;
  cursor: pointer;
  width: 100%;
  height: 100%;
  border-radius: rem($border-radius-small);
  .videoBox {
    border-radius: rem($border-radius-small);
  }
  :global {
    .vjs-poster {
      border-radius: rem($border-radius-small);
    }
    .video-js {
      width: 100%;
    }
  }
  .payBox {
    position: absolute;
    top: -1px;
    left: 0;
    bottom: 0;
    right: 0;
    background-color: rgba(0, 0, 0, 0.6);

    .alert {
      width: 100%;
      height: 44px;
      display: flex;
      align-items: center;
      justify-content: center;

      .tipsIcon {
      }

      .tipsText {
        margin-left: rem($margin-2n);
        font-size: $font-size-base;
      }
    }
  }
}

.alertWarn {
  background: $warn-color9;
  .tipsIcon {
    color: $warn-color;
  }

  .tipsText {
    color: $warn-color;
  }
}

.alertError {
  background: $warn-color9;
  .tipsIcon {
    color: $error-color;
  }

  .tipsText {
    color: $error-color;
  }
}
